package com.wei.duowan.bbs.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 作者：赵若位
 * 时间：2019/8/2 16:26
 * 联系方式：1070138445
 * 功能：
 */
public class BaseBean<T>
{
    @SerializedName("code")
    private int code;

    @SerializedName("message")
    private String message;

    @SerializedName("data")
    private T data;

    @SerializedName("collection")
    private List<NewsChannelBean> collection;


    @SerializedName("not_collection")
    private List<NewsChannelBean> not_collection;



    public int getCode()
    {
        return code;
    }

    public void setCode(int code)
    {
        this.code = code;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage(String message)
    {
        this.message = message;
    }

    public T getData()
    {
        return data;
    }

    public void setData(T data)
    {
        this.data = data;
    }

    public List<NewsChannelBean> getCollection()
    {
        return collection;
    }

    public void setCollection(List<NewsChannelBean> collection)
    {
        this.collection = collection;
    }

    public List<NewsChannelBean> getNot_collection()
    {
        return not_collection;
    }

    public void setNot_collection(List<NewsChannelBean> not_collection)
    {
        this.not_collection = not_collection;
    }
}
